From 6a4b6dbb0c1fd080d1f6065534907587b8f923a9 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sun, 24 Jan 2021 13:57:47 +0000 Subject: [PATCH] Provide version#"git description". Forwarded: not-needed Last-Update: 2020-12-21 Since we may not be building the package from a git repository, we hardcode the git description ahead of time. This patch is automatically updated by debian/scripts/m2-get-orig-source.sh. Gbp-Pq: Name git-description.patch --- M2/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M2/configure.ac b/M2/configure.ac index 63a3c45..5642e7c 100644 --- a/M2/configure.ac +++ b/M2/configure.ac @@ -559,7 +559,7 @@ AC_SUBST(GIT_DESCRIPTION) NEW_COMMITS=`$GIT rev-list $($GIT rev-list -1 HEAD $srcdir/VERSION)..HEAD --count` GIT_COMMIT=`$GIT describe --dirty --always --match HEAD` if test "$NEW_COMMITS-$GIT_COMMIT" = "-" -then GIT_DESCRIPTION=version-$PACKAGE_VERSION-unknown +then GIT_DESCRIPTION=version-1.17.1-0-385704bb5 else GIT_DESCRIPTION=version-$PACKAGE_VERSION-$NEW_COMMITS-$GIT_COMMIT fi AC_DEFINE_UNQUOTED(GIT_DESCRIPTION,"$GIT_DESCRIPTION",[summary of git status]) -- 2.30.2